package org.jsola.hr.query;


import io.swagger.annotations.ApiParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.query.BaseQuery;
import org.jsola.hr.dto.EmpSocPlanUpdateDTO;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;


/**
 * 增减员
 * @author lyh
 */

@EqualsAndHashCode(callSuper = true)
@Data
public class IncreaseDecreaseQuery extends BaseQuery {

    private static final long serialVersionUID = 1L;

    @ApiParam(value = "员工Id列表")
    private List<String> empIdList;

    @ApiParam(value = "公司Id")
    @NotNull(message = "公司Id不能为空")
    private String companyId;

    @ApiParam(value = "是否社保减员")
    private Boolean stopSoc;

    @ApiParam(value = "社保计划减员年")
    private String planStopSocYear;

    @ApiParam(value = "社保计划减员月")
    private String planStopSocMonth;

    @ApiParam(value = "是否医保减员")
    private Boolean stopMe;

    @ApiParam(value = "医保计划减员年")
    private String planStopMeYear;

    @ApiParam(value = "医保计划减员月")
    private String planStopMeMonth;

    @ApiParam(value = "是否公积金封存")
    private Boolean stopPf;

    @ApiParam(value = "封存时间年")
    private String sealedDateYear;

    @ApiParam(value = "封存时间月")
    private String sealedDateMonth;

    @ApiParam(value = "编辑的增员信息")
    private EmpSocPlanUpdateDTO empSocPlanUpdateDTO;

    @ApiParam(value = "增减员计划ID列表")
    private List<String> planIdList;

    @ApiParam(value = "服务费(减员用)")
    private BigDecimal serviceCost;
}
